﻿namespace ufida.u9.ait.openapi
{
	using System;
    using System.Collections;
    using System.Collections.Generic;
	using System.Text;
    using ufida.u9.ait.openapi.utils;
    using UFIDA.U9.Base;
    using UFIDA.U9.CBO.Pub.Controller;
    using UFIDA.U9.CBO.SCM.Bin;
    using UFIDA.U9.CBO.SCM.Warehouse;
    using UFIDA.U9.InvDoc.TransferIn;
    using UFIDA.U9.ISV.TransferInISV;
    using UFIDA.U9.ISV.TransferInISV.Proxy;
    using UFIDA.U9.SM.DealerSO;
    using UFSoft.UBF.AopFrame;
    using UFSoft.UBF.Business;
    using UFSoft.UBF.Transactions;
    using UFSoft.UBF.Util.Context;

	/// <summary>
	/// TransferInSaveSV partial 
	/// </summary>	
	public partial class TransferInSaveSV 
	{	
		internal BaseStrategy Select()
		{
			return new TransferInSaveSVImpementStrategy();	
		}		
	}

	#region  implement strategy	
	/// <summary>
	/// Impement Implement
	/// 
	/// </summary>	
	internal partial class TransferInSaveSVImpementStrategy : BaseStrategy
	{
		public TransferInSaveSVImpementStrategy() { }

		public override object Do(object obj)
		{
			TransferInSaveSV bpObj = (TransferInSaveSV)obj;

			return CodeUtils.DocSaveRT(bpObj, bpObj.Data, TransferInBase.CreateDoc, TransferInBase.ApproveDoc);
		}
	}

	#endregion
	
	
}